#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include"mycoin.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);
    int levelIndex;

    //记录金币状态
    int gameArray[4][4];
    void paintEvent(QPaintEvent *event);

    MyCoin* coinBtn[4][4];

    bool isWin();
signals:
    void chooseSceneBack();
};

#endif // PLAYSCENE_H
